package com.nmsl.service;

import com.nmsl.common.utils.uuid.UUID;
import com.nmsl.domain.TySysUser;
import com.nmsl.mapper.TySysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import static com.nmsl.common.utils.uuid.UUID.fastUUID;

@Service
public class TySysUserService {
    @Autowired
    private TySysUserMapper tySysUserMapper;
    public Integer getMyUserIdByUserName(String userName) {
        return tySysUserMapper.getMyUserIdByUserName(userName);
    }

    public int callUpdateAndInsertUser(String userName) {
        return tySysUserMapper.callUpdateAndInsertUser(userName);
    }


}
